<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/5/20/020
 * Time: 12:15
 */

namespace app\api\validate;


class BrandValidate extends BaseValidate {
    protected $rule = [
        'name' => 'require',
        'logo' => 'require',
        'intro' => 'require',
    ];


    protected $message=[
        'name.require' => '品牌名称不能为空',
        'logo.require' => '请上传品牌logo',
        'intro.require' => '品牌简介不能为空'
    ];
}